import pytest
from logzk3.logzk3 import log_ceelse
import yagmail

def send_mail(filepath):
    mail = yagmail.SMTP(user='1582186006@qq.com',password='wnlqxmixkuyjbacg',host="smtp.qq.com")
    s= mail.send(to='1582186006@qq.com',subject="邮箱",contents="邮箱",attachments=filepath)
if __name__ == '__main__':
    log_ceelse()
    pytest.main(["-s", "./zhoukao3/test_a3mall_miaosao.py","./report_data"])
    send_mail(["./logzk3/debug_log"])

